<%@ page import="com.memora.usuario.Telefone" %>



<div class="form-group fieldcontain ${hasErrors(bean: telefoneInstance, field: 'segUser', 'error')} required">
	<label for="segUser">
		<g:message code="telefone.segUser.label" default="Seg User" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="segUser" name="segUser.id" from="${com.memora.seguranca.SegUser.list()}" optionKey="id" required="" value="${telefoneInstance?.segUser?.id}" class="many-to-one"/>

</div>

<div class="form-group fieldcontain ${hasErrors(bean: telefoneInstance, field: 'descricaoNumero', 'error')} required">
	<label for="descricaoNumero">
		<g:message code="telefone.descricaoNumero.label" default="Descricao Numero" />
		<span class="required-indicator">*</span>
	</label>
	<g:select name="descricaoNumero" from="${telefoneInstance.constraints.descricaoNumero.inList}" required="" value="${telefoneInstance?.descricaoNumero}" valueMessagePrefix="telefone.descricaoNumero"/>

</div>

<div class="form-group fieldcontain ${hasErrors(bean: telefoneInstance, field: 'numeroTelefone', 'error')} required">
	<label for="numeroTelefone">
		<g:message code="telefone.numeroTelefone.label" default="Numero Telefone" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="numeroTelefone" required="" value="${telefoneInstance?.numeroTelefone}"/>

</div>

